package com.sinkdream.cms.service;

import com.sinkdream.cms.model.FavoriteRelation;
import com.sinkdream.cms.model.News;
import com.sinkdream.cms.model.News_one;

import java.util.List;
import java.util.Map;

public interface NewsService_one {
    public void insertitlenews(News_one news);

    List<News_one> selectbytype_page(Map<String, Object> map);

    List<News_one> selectbytype_page_like(Map<String, Object> map);

    List<News_one> selectbynews_id(int news_id);

    List<FavoriteRelation> selectshoucang(FavoriteRelation fale);

    public void insertZ(FavoriteRelation resa);

    public void updatezandesc(int news_id);

    public void updatezan(int news_id);

    public void updateByuserandnews(FavoriteRelation resa);

}
